package com.uzai.console.web.god;

import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport;
import com.github.xiaoymin.knife4j.annotations.ApiSort;
import com.uzai.console.dto.god.pyq.PyqReportDto;
import com.uzai.console.service.godapi.GodApiService;
import com.uzai.console.service.tb.tbpunishorder.TbPunishOrderService;
import com.uzai.console.vo.god.pyq.PyqReportVo;
import com.uzai.console.web.BaseController;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * 产品
 * @author liuqi
 * @date 2021年08月16日 15:11
 */
@Api(value = "God平台接口访问",tags = "God平台接口访问")
@ApiSort(100)
@RestController
public class GodApiController extends BaseController {
    private Logger logger = LoggerFactory.getLogger(GodApiController.class);

    @Autowired
    private GodApiService godApiService;
    @Autowired
    private TbPunishOrderService tbPunishOrderService;

    @ApiOperation(value = "God平台朋友圈统计接口", notes = "God平台朋友圈统计接口", response = PyqReportVo.class)
    @ApiOperationSupport(order = 1)
    @PostMapping("/godApi/pyq/report")
    public Object godPyqReport(@RequestBody PyqReportDto pyqReportDto){
        return godApiService.godPyqReport(pyqReportDto);
    }

}
